package com.glsc.ngateway.common.api.filetransfer.dto;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.web.multipart.MultipartFile;

import java.io.Serializable;

/**
 *通用文件上传请求实体
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
@Builder
public class CommonFileUploadDto implements Serializable {
    private static final long serialVersionUID = -1609655577438302497L;

    //上传文件-必传
    private MultipartFile file;
    //系统编码-必传
    private String systemCode;
    //文件id-更新文件时必传，不传则表示新增
    private String fileId;
    //创建者oa账号
    private String oaAccount;
    //创建者姓名
    private String creatorName;
    //文件描述
    private String fileDesc;

}
